package com.ly.service;

import com.ly.dao.UserRepos;
import com.ly.dto.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.List;

@Service
public class UserServiceImple  implements IUserService,Serializable {

    @Autowired
    private UserRepos userRepos;

    public List<User> JPA_findAll() {
        return userRepos.findAll();

    }
}